﻿@model Projeto_Build_0.Models.Evento

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Evento</legend>
    <div class="display-field">NomeEvento : @Html.DisplayFor(model => model.NomeEvento)</div>      
    <div class="display-field">HoraInicio : @Html.DisplayFor(model => model.HoraInicio)</div>    
    <div class="display-field">HoraFim : @Html.DisplayFor(model => model.HoraFim)</div>    
    <div class="display-field">Descricao : @Html.DisplayFor(model => model.Descricao)</div>
    <div class="display-field">Sala : @Html.DisplayFor(model => model.DiaEscolar.SemanaEscolar.Sala.NomeSala)</div>
    <div class="display-field">Ano : @Html.DisplayFor(model => model.DiaEscolar.SemanaEscolar.Ano)</div>
    <div class="display-field">Número da Semana : @Html.DisplayFor(model => model.DiaEscolar.SemanaEscolar.NumeroSemana)</div>
    <div class="display-field">Dia da Semana : @Html.DisplayFor(model => model.DiaEscolar.DiaDaSemana.Dia)</div>  
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back", "Details", new { id = Model.EventoId })
    </p>
}
